package com.igeekhome.ccs.mapper;

import com.igeekhome.ccs.entity.Session;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SessionMapper {
    int createSession(Session s);

    int stopSession(Session s);

    Integer getSumSession();

    Integer getResolvingSession();

    List<Session> getNowSessionList(int csId);

    List<Session> getPastSessionList(int csId);

    int transferSession(int csId,int sessionId);
}
